#include "Graph.h"

int main(void)
{
	Graph graph;
	GraphCreate(&graph, 5);

	GraphAddEdge(&graph, 0, 1, 1);
	GraphAddEdge(&graph, 0, 2, 3);
	GraphAddEdge(&graph, 1, 2, 2);
	GraphAddEdge(&graph, 2, 3, 7);
	GraphAddEdge(&graph, 3, 4, 9);
	GraphAddEdge(&graph, 4, 0, 4);
	GraphAddEdge(&graph, 4, 2, 5);


	GraphPrint(&graph);
	GraphDestroy(&graph);

	return 0;
}